//
//  CCWindow.h
//  SDKUI
//
//  Created by aiquantong on 22/08/2017.
//  Copyright © 2017 aiquantong. All rights reserved.
//

#import <UIKit/UIKit.h>

#define smallVideoView_Width  MIN([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height) * 0.4f
#define smallVideoView_Height smallVideoView_Width

#define minScreen_Width 80
#define minScreen_Height 100

#define minScreenVideoView_Width  minScreen_Width * 0.5f
#define minScreenVideoView_Height minScreenVideoView_Width

@interface CCCallWindow : UIWindow

+(CCCallWindow *)shareInstance;

+(CGSize)adjustSizeToRadio:(float)radio persentSize:(CGSize)psize;

-(void)showInWindowWtihViewController:(UIViewController *)callViewController;

-(void)hiddenInWindow;

-(void)minWindowWithAnimation:(void(^)(void))anmination completion:(void(^)(BOOL finished))callback;

@end
